package com.eastcom.providor.dao;

import com.eastcom.providor.dao.impl.CalendarItemDao;
import com.eastcom.providor.dao.impl.CalendarPolicyDao;
import com.eastcom.providor.dao.impl.DataSetDao;
import com.eastcom.providor.dao.impl.DataSetNeDao;
import com.eastcom.providor.dao.impl.KpiDefineDao;
import com.eastcom.providor.dao.impl.NeSpecialThreadHoldDao;
import com.eastcom.providor.dao.impl.PublicNeDao;
import com.eastcom.providor.dao.impl.RawDataDao;

public class DAOFactory {

	private static DAOFactory instance=null;
	
	public static DAOFactory getInstance(){
		if(instance==null)
			instance=new DAOFactory();
		
		return instance;
	}
	
	public IDataSetDao getDataSetDao(){
		return new DataSetDao();
	}
	
	public IDataSetNeDao getDataSetNeDao(){
		return new DataSetNeDao();
	}
	
	public IPublicNeDao getPublicNeDao(){
		return new PublicNeDao();
	}

	public IKpiDefineDao getKpiDefineDao(){
		return new KpiDefineDao();
	}
	
	public INeSpecialThreadHoldDao getNeSpecialThreadHoldDao(){
		return new NeSpecialThreadHoldDao();
	}
	
	public ICalendarPolicyDao getCalendarPolicyDao(){
		return new CalendarPolicyDao();
	}
	
	public ICalendarItemDao getCalendarItemDao(){
		return new CalendarItemDao();
	}
	
	public IRawDataDao getRawDataDao(){
		return new RawDataDao();
	}
	
}
